@media print {
    @page {
        margin: 0;
        size: A4 portrait;
    }

    /* 打印时 特殊样式 */
    /* .report-item {
        width: 210mm;
        height: 296mm;
        overflow: hidden;
        border: 4px solid rgb(0, 251, 255);
    } */
    /* .report-item.layoutRow { */
    /* position: absolute; */
    /* transform: rotate(90deg); */
    /* transform-origin: 105mm 105mm; */
    /* } */
    .report-item+.report-item {
        margin-top: 0 !important;
    }

    .render-paper-a4 {
        border: 4px solid rgb(255, 0, 0);
        box-shadow: none;
    }

    .el-descriptions .is-bordered .el-descriptions-item__cell {
        border: 2px solid #000 !important;
    }

    .paper-item+.paper-item .el-descriptions__body tbody:nth-child(1) tr th {
        border-top: none !important;
    }

    .paper-item+.paper-item .el-descriptions__body tbody:nth-child(1) tr td {
        border-top: none !important;
    }

    .paper-item+.paper-item .el-descriptions__body tbody:nth-child(1) th.borderTop {
        border-top: 1px solid #000000 !important;
    }

    .paper-item+.paper-item .el-descriptions__body tbody:nth-child(1) td.borderTop {
        border-top: 1px solid #000000 !important;
    }

    .el-descriptions .is-bordered .el-descriptions-item__cell.borderRight {
        border-right: none !important;
    }

    .el-table thead.is-group th.el-table__cell {
        background: none;
        height: 30px !important;
    }

    .el-table th.el-table__cell>.cell {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .el-table .cell {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* pdf 特殊样式 */
.pdf .report-item+.report-item {
    margin-top: 0 !important;
}

.pdf .report-item.layoutRow {
    transform: rotate(90deg);
}

.report-render.pdf .columnClick {
    color: #000;
}

/* 打印特殊样式 */
.printImg {
    width: 210mm;
    height: 297mm;
    display: block;
    margin: 0;
    border: none;
    padding: 0;
}

.report-render {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    padding: 15px;
    color: #000000;
    /* -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
}

/* 针对：数据允许复制、图片不允许下载、拖动、复制 */
.report-render .render-base img {
    user-select: none;
    -webkit-user-drag: none !important;
}

.modal-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 199;
    width: 100%;
    height: 100%;
}

/* A4 组件----------- */
.render-paper-a4 {
    width: 210mm;
    height: 296mm;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    page-break-after: always;
    background: #fff;
    /* 预览效果 */
    -webkit-box-shadow: 0 0.5mm 2mm rgb(0 0 0 / 30%);
    box-shadow: 0 0.5mm 2mm rgb(0 0 0 / 30%);
}

.render-paper-a4 .paper {
    position: relative;
    width: 100%;
    height: 100%
}

.report-item {
    /* width: 210mm; */
    /* height: 296mm; */
    /* background: #FFF; */
}

.report-item+.report-item {
    margin-top: 3mm;
}

/* 横向 布局 */
.render-paper-a4.layoutRow {
    width: 297mm;
    height: 209mm;
}

/* 页码 */
.render-paper-a4 .A4-page {
    position: absolute;
    width: 100%;
    bottom: 7mm;
    font-size: 14pt;
    text-indent: 1em;
    font-family: fs_gb2312;
    left: 0;
}

.render-paper-a4 .A4-page.right {
    direction: rtl;
}

/* ----------------- */
.render-layout {
    /* position: relative; */
}

/* 文字 */
.render-layout .render-text .overflow {
    overflow: hidden;
    text-overflow: ellipsis;
}

.render-layout .render-text .overflow.overflow-line2 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.render-layout .render-text .overflow.overflow-line2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.render-layout .render-text .overflow.overflow-line3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 描述列表 */
.render-layout .el-descriptions .is-bordered .el-descriptions-item__cell {
    position: relative;
    border: 1px solid #000000;
    color: #000;
    font-size: 15px;
    font-family: fs_gb2312;
}

.render-layout .el-descriptions-item__label.is-bordered-label {
    background: #FFF;
    color: #000000;
}

/* ---------- */
/* 图片 */
.render-image {
    position: absolute;
    z-index: 89;
}

/* ----------- */
/* 分割线 */
.el-divider {
    -webkit-print-color-adjust: exact;
}

blockquote {
    margin: 0 !important;
    text-indent: 2em !important;
}

/* ----------- */
/* 栅格 */
.render-flex {
    display: flex;
    width: 100%;
}

.render-flex .flex-item {
    position: relative;
}

/* -------- */
/* table */

.render-layout .el-table .cell {
    min-height: 23px;
}

/* table */
.render-layout .el-table--border th.el-table__cell {
    border-bottom: 1px solid #000;
}

.render-layout .el-table--border .el-table__cell {
    border-right: 1px solid #000;
}

.render-layout .el-table thead.is-group th.el-table__cell {
    background: none;
    height: 30px;
}

.render-layout .el-table--group,
.render-layout .el-table--border {
    border: 1px solid #000;
}

.render-layout .el-table .el-table__header-wrapper th,
.render-layout .el-table .el-table__fixed-header-wrapper th {
    color: #000;
    font-family: fs_gb2312;
    font-size: 14px;
}

.render-layout .el-table th.el-table__cell.is-leaf,
.render-layout .el-table td.el-table__cell {
    /* border-bottom: 1px solid #000000; */
    border-bottom: none;
}

.render-layout .el-table.el-table--border th.el-table__cell.is-leaf,
.render-layout .el-table.el-table--border td.el-table__cell {
    border-bottom: 1px solid #000000;
}

.render-layout .el-table td.el-table__cell div {
    font-size: 13px;
    font-family: fs_gb2312;
    color: #000;
}

.render-layout .el-table td.el-table__cell .column-edit {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.render-layout .el-table--mini .el-table__cell {
    padding: 4px 0;
}

.render-layout .el-table-report-mini.el-table--mini .el-table__cell {
    padding: 0;
}

.render-layout .el-table::before {
    height: 0;
}

.render-layout .el-table--border::before {
    height: 1px;
}

.render-layout .el-table .table-input .el-input__inner {
    height: 23px;
    font-size: 12px;
    line-height: 23px;
    padding: 0;
}

.render-layout .el-table.el-table--mini .table-input .el-input__inner {
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    padding: 0;
}


.render-layout .el-table.el-table--mini .table-input .el-input__inner::placeholder {
    font-size: 12px;
}

/* border样式处理 */

.report-render .paper-item+.paper-item .el-descriptions__body tbody:nth-child(1) tr th {
    border-top: none;
}

.report-render .paper-item+.paper-item .el-descriptions__body tbody:nth-child(1) tr td {
    border-top: none;
}

.report-render .borderTop {
    border-top: 1px solid #000000 !important;
}

.report-render .borderRight {
    border-right: none !important;
    ;
}

.report-render .table_borderTop {
    border-top: none !important;
}

.report-render .columnClick {
    color: #1890ff;
    cursor: pointer;
}

.report-render .el-table .cell {
    padding-left: 5px;
    padding-right: 5px;
}

.report-render .el-table th.el-table__cell>.cell {
    padding-left: 5px;
    padding-right: 5px;
}

.report-render .el-table--border .el-table__cell:first-child .cell {
    padding-left: 5px;
}

.report-render .el-table__fixed-footer-wrapper tbody td.el-table__cell {
    border-top: 1px solid #000000;
    background-color: #ffffff;
}

.report-render .el-table__header-wrapper tbody td.el-table__cell,
.report-render .el-table__footer-wrapper tbody td.el-table__cell {
    border-top: 1px solid #000000;
    background-color: #ffffff;
}

/* 预览模式 - 编辑模式 增加的新样式处理 */
.report-render .render-text.editMode .render-text-content {
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
}

.report-render .render-text.editMode .render-text-content:focus {
    outline: none;
    border-color: #409eff;
    /* padding: 0 5px;  这里是一个选中文字的动画 */
}

.report-render .render-text .render-test-edit-select {
    width: 100%;
}

.report-render .render-text .render-test-edit-select .el-input__inner {
    padding-left: 5px;
}

/* --------end */
/* 解决 table计算后的自适应高度 */
.table-height-initial {
    height: initial !important;
}

.report-render .render-select {
    width: 100%;
}

.report-render .render-select .el-input__inner {
    padding-left: 5px;
}

.report-render .render-select.select-preview .el-input.is-disabled .el-input__inner {
    background-color: inherit;
    border: none;
    color: #000;
    font-family: fs_gb2312;
    font-size: 14px;
    padding: 0;
}

.report-render .render-select.select-preview .el-input__suffix {
    display: none;
}

.report-render .render-paper-action {
    position: absolute;
    top: 0;
    right: 0;
}

.report-render .render-paper-action .el-button-group .el-button--primary {
    background-color: #19be6b;
    border-color: #19be6b;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    padding: 5px 12px;
    font-size: 14px;
}